{include file="public/header" /}
<body>


   

<div class="layui-fluid">
    <div class="layui-card" >
		<div class="layui-card-header">添加报废列表</div>
      

        <form class="layui-form" action="" id="form1" lay-filter="form1" style="padding-top:10px;">
            
            
<div class="layui-form-item" >
    <label class="layui-form-label">工具名称</label>
	<div class="layui-input-block" >
		<input type="text" id="name" name="name"  autocomplete="off" value="" title="" class="layui-input">

	</div>
    <div class="layui-form-mid layui-word-aux"></div>
</div>


<div class="layui-form-item" >
    <label class="layui-form-label">工具类型</label>
	<div class="layui-input-block" >
		<input type="text" id="type" name="type"  autocomplete="off" value="" title="" class="layui-input">

	</div>
    <div class="layui-form-mid layui-word-aux"></div>
</div>


<div class="layui-form-item" >
    <label class="layui-form-label">报废数量</label>
	<div class="layui-input-block" >
		<input type="text" id="bfsum" name="bfsum"  autocomplete="off" value="" title="" class="layui-input">

	</div>
    <div class="layui-form-mid layui-word-aux"></div>
</div>


<div class="layui-form-item" >
    <label class="layui-form-label">报废情况</label>
	<div class="layui-input-block" >
		<select name="status" id="status" lay-filter="status" lay-search>
    
        <option value="1">已报废</option>
    
        <option value="0">未报废</option>
    
</select>
	</div>
    <div class="layui-form-mid layui-word-aux"></div>
</div>


<div class="layui-form-item" >
    <label class="layui-form-label">报废时间</label>
	<div class="layui-input-block" >
		
<input type="text" class="layui-input" lay-verify="required" id=scraptime name=scraptime placeholder="">
    <SCRIPT>
        layui.use(['laydate', 'jquery'], function(){
			var $ = layui.$
				,laydate = layui.laydate;
			laydate.render({
				elem: '#scraptime'
				,type: 'datetime'
			  });
		});
    </SCRIPT>


	</div>
    <div class="layui-form-mid layui-word-aux"></div>
</div>


<div class="layui-form-item" >
    <label class="layui-form-label">报废人</label>
	<div class="layui-input-block" >
		<input type="text" id="scrapper" name="scrapper"  autocomplete="off" value="" title="" class="layui-input">

	</div>
    <div class="layui-form-mid layui-word-aux"></div>
</div>



            <div class="layui-form-item">
                <div class="layui-input-block">
                    <button type="submit" class="layui-btn" lay-submit="" lay-filter="savedata">确认添加</button>
                </div>
            </div>
        </form>
          <script>
           {php} if(session('roleid')>5){ {/php}
            $("input[name='ispublic']").parent().parent().hide();
           {php}}{/php}
        </script>
    </div>

</div>

      {include file="public/footer" /}
      <script>
			var uploadimgurl = "{:url('/comm/upload/uploadimg')}";
      </script>
      <script src="__SKIN__/js/jmzhfsconfiguploadform.js?v=1.222"></script>
  
      <script type="text/javascript">


            $(function () {
                  formsubmit('form1',"{$addurl}");
            });

			
		
			layui.use(['form', 'layer','element','jquery'], function(){
				var $ = layui.$
					,form = layui.form;

			});
			
	
      </script>
<style>

    /* 每列表单过多，防止窜行，缩小宽度 */
    .layui-form-label{
       padding: 9px 10px;
    }
    
</style> 
</body>


</html>